package com.chaodev.base.dao;

import com.chaodev.base.model.DataPageVO;
import com.chaodev.base.model.ErrorLog;
import com.chaodev.base.model.LogOperation;
import com.chaodev.base.model.LogUserLogin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface LogDao {
     void addErrorLog(Map<String, Object> map);

     int addMenuLog(Map<String, Object> map);

     void logAdd(Map<String, Object> map);

     List<LogUserLogin> listLoginLog(DataPageVO dataPage);
     List<LogOperation> listUserLog(DataPageVO dataPage);
     List<Map<String,Object>> getMenuChartsData(Map<String,Object> map);
     List<Map<String,Object>> getUserChartsData(Map<String,Object> map);
     List<Map<String,Object>> getErrorChartsData(Map<String,Object> map);
     List<ErrorLog> listErrorLog(DataPageVO dataPage);
}
